str="itheima itcast boxuegu"

print(f"字符串中有{str.count('it')}个it字符")
str1=str.replace(' ','|')
print(str1)
str_list=str1.split('|')
print(str_list)